﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PetAdoptApi.Entity;
[Table("user_adoption")]
public class UserAdoption
{
    [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    public int Id { get; set; }

    public int UserId { get; set; }

    public int PetId { get; set; }

    public DateTime AdoptionOn;

    public virtual User User { get; set; } = default!;
    public virtual Pet Pet { get; set; } =default!;
}
